package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.system.entity.AbdulBaseEntity;
import com.ruoyi.system.util.AbdulEmptyUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("sy_recharge_info")
@ApiModel("充值信息实体类 储值卡 2-定额储值卡")
public class SyRechargeInfo extends AbdulBaseEntity {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("实际充值金额")
    private BigDecimal actualRecharge;

    @ApiModelProperty("充值金额")
    private BigDecimal rechargeAmount;

    @ApiModelProperty("取消充值退款金额")
    private BigDecimal cancelRefund;

    @ApiModelProperty("商家手动退款金额")
    private BigDecimal manualRefund;

    @ApiModelProperty("使用")
    private String isUsage;

    @ApiModelProperty("类型：1-储值卡 2-定额储值卡")
    private Integer isType;

    @ApiModelProperty("会员ID")
    private Long memberId;
}
